package com.caigp.cookbook2.bean;

import java.util.List;

public class Menu {

    private int classid;

    private String name;

    private int parentid;

    private List<MenuChild> list;

    public int getClassid() {
        return classid;
    }

    public void setClassid(int classid) {
        this.classid = classid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getParentid() {
        return parentid;
    }

    public void setParentid(int parentid) {
        this.parentid = parentid;
    }

    public List<MenuChild> getList() {
        return list;
    }

    public void setList(List<MenuChild> list) {
        this.list = list;
    }

    public static class MenuChild {

        private int classid;

        private String name;

        private int parentid;

        public int getClassid() {
            return classid;
        }

        public void setClassid(int classid) {
            this.classid = classid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getParentid() {
            return parentid;
        }

        public void setParentid(int parentid) {
            this.parentid = parentid;
        }
    }
}
